home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Turnbull China Bikeride
/
Turnbull China Bikeride - Disc 2.iso
/
STUTTGART
/
UTIL
/
PRINTER
/
PCLTOOLS
/
PDumperLJ
/
PDLJ.man
next >
Wrap
Text File
|
1997-10-05
|
5KB
|
118 lines
Patched PDumperLJ module
========================
I posted the first version of this patched module to comp.sys.acorn.apps
about 3 months ago. This is a newer version (the old one still contained
a very small bug); it's shorter because I redirected all compressions to
my own routines rather than using the ones originally included (as in the
first release of this module).
Since I'm rather lazy I won't give the same instructions all over again
but simply copy what I wrote then. The module is not appended in uucode
format, obviously. Also I've been using it long enough so far to say it's
no longer really beta but fully stable and if it still contains a bug in
the compression code I'm gonna shoot myself (this bug showed itself so damn
rare it was almost impossible to trace; and it wasn't one of those real
nasties that crashed anything...).
Things I said in my post that are no longer relevant / accurate / true:
- When I said "rename it first" I meant the old PDumperLJ module: give
the old one a new name and copy the new one as "PDumperLJ" into the
directory in question so it'll be loaded by default every time you start
up !Printers.
- The new version number is 2.01 beta.
- It's working fine with the DeskJet 600 and the DeskJet 660C printer
drivers. I can't guarantee it'll work with all DJs though.
BTW, I still haven't heard from Acorn. My, what a surprise.
Here we go:
-------------------------------------------------------------------------
NEW PDUMPER MODULE FOR HP LASERJET 3 OR NEWER PRINTERS
======================================================
The PDumperLJ module that's supplied with Acorn's !Printers does support
compression of raster graphics but only mode 2 (and that a bit inefficiently).
Newer Laserjets offer other compression schemes; mode 3 for instance performs
exceptionally well with regular graphics (say pages full of text). Furthermore
it's perfectly legal to mix compression modes in a raster area.
This is where this new PDumper module comes into play. I've patched the
original PDumperLJ module which resulted in the one that's appended to this
post. It uses compression modes 0, 2 and 3, whichever way data can be
represented most efficiently. I'm looking for people willing to do some
beta-testing with it. So if you've got a newer Laserjet (or compatible)
give it a try and tell me what you think.
Improvements will be least noticable with highly irregular stuff such as
error-diffused dithered graphics. It can't do wonders, after all. Regular
stuff, however, compresses very well this way. An example: I have a page
full of text that took about 1270K with the old PDumper module and only
about 470K with the new one. Considering a transfer rate of about 16K/s
over the parallel port (which is at least what I get) you save about 50 secs
in downloading the page to the printer alone. Generally speaking pages with
lots of text usually compress to 30%-40% the size obtained with the old
PDumperLJ module.
WARNING:
-------
This is a *BETA* version. Use it entirely at your own risk (it has so far
been working absolutely stable for me). Consistently integrating it in Acorn's
printer drivers will require some communication between them and me which
will take some time. Time that can be passed better ways than keeping this
module under lock and key, I think. Just be aware of the fact that there
could be problems.
Let me emphasize that the output produced by this dumper will be incompatible
with older Laserjet models (before LJ 3).
There might be problems when you're using it with Deskjet printers (these
and Laserjets share the same PDumper module). Avoid this.
INSTALLATION:
------------
uudecode the data appended to this post, give it the type module and copy
it as "PDumperLJ" in your !Printers.PDumpers directory. DO NOT OVERWRITE THE
PDumperLJ MODULE ALREADY PRESENT THERE, RENAME IT FIRST (e.g. pre- or postfix
it; I've called mine _PDumperLJ). If !Printers is already running with a
LJ printer driver at the time of installation, rmkill the old version
("rmkill PDumperLJ") and then double click on the new one. You can check
whether the new PDumper is active by typing "help PDumperLJ" from the command
line which should return version number 2.00 beta.
TO ACORN:
--------
I've contacted you about this a while ago. I wish I could say I was
surprised at not getting an answer...
So now I'm trying the other approach of standing on a hill, frantically
waving my arms and shouting "Hello! Hellooooo!?" at the top of my voice,
hoping there's no storm warning. Seriously, if anyone at Acorn's reading this:
please contact me so this PDumper can be merged with !Printers as consistently
as possible. Basically this will require another bit in the dumper
configuration word: supports compression mode 3; now this shouldn't pose
much of a problem.
SORRY:
-----
... for posting this in a non-binary group but then again it's only a few
measly K; people are regularily quoting more. I won't let this become a
habit, promise.
Andreas Dehmel
dehmel@forwiss.tu-muenchen.de